import {
  postRequest,
  getRequest,
  putRequest
} from "../utils/request.js" //引用request
// 获取场地列表
export const requst_get_sites = data => getRequest(`/sites`, data);
// 获取场地详情
export const requst_get_sites_detail = data => getRequest(`/sites/detail`, data);
// 模特按昵称搜索
export const requst_get_model_search = data => getRequest(`/model/search`, data);
// 获取模特列表
export const requst_get_model_list = data => getRequest(`/model`, data);
// 获取模特详情
export const requst_get_model_detail = data => getRequest(`/model/detail`, data);
// 关注模特
export const requst_get_model_follow = data => getRequest(`/user/follow`, data);
// 取消关注模特
export const requst_get_model_unfollow = data => getRequest(`/user/unfollow`, data);
// 场地入驻新增
export const sites_add = data => postRequest(`/sites/add`, data);

// 圈子积分增加
export const cirlrScore = () => postRequest(`/experience/points`);
